<template>
    <div>
        <el-tag v-if="$attrs.row.msg_type == 0" type="info">文字</el-tag>
        <el-tag v-if="$attrs.row.msg_type == 1" type="success">视频</el-tag>
        <el-tag v-if="$attrs.row.msg_type == 2" type="warning">主页</el-tag>
    </div>
</template>

<script>
export default {
    name: 'msgType',
}
</script>
